package com.type.TypingDetector;

public class PredictionType {
	private String name;
	private int id;
	
	public PredictionType(String nam, int currId) {
		setName(nam);
		setId(currId);
	}
	
	public void setName(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}
	
	@Override
	public String toString() {
		return name;
	}
	
	public boolean equals(PredictionType e) {
		return this.name.equalsIgnoreCase(e.name);
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getId() {
		return id;
	}
}
